package cn.taofuxn.sale.util;

import org.hibernate.dialect.MySQL5InnoDBDialect;

/**
 * 数据库方言。
 * ProjectName : uom-webbackend-storagemanager-service
 * PackageName : com.goldmsg.leuom.mgr.utils
 * Created by Wong
 * Date: 2018/1/9
 * Time: 10:31
 */
public class MySqlDialectUtf8 extends MySQL5InnoDBDialect {
	
	/**
	 * @return 在数据库表创建时指定表属性
	 */
	@Override
	public String getTableTypeString() {
		return " ENGINE=InnoDB DEFAULT CHARSET=utf8 ";
	}
}
